<?php
namespace App\Models\Traits;

trait AppAttach
{
    public function attaches()  //附件
    {
        return $this->hasMany(\App\Models\Attach::class, 'app_id','id');
    }
    
}
